/**
 * Created by luyon on 17/8/23.
 */

"use strict";

//=========================
// 引入子组建和子组建reducer
//=========================

export const CHANGE_CREATOR = "CHANGE_CREATOR" ;

export const FilmCreatorReducers = (state = {}, action)=>{
    switch (action.type){
        case CHANGE_CREATOR :
            return state = action.data ;
        default :
            return state ;
    }
} ;

export const mapStateToProps = state =>{
    return {
        filmCreatorInfomation : state.app.filmDetail.filmCreator ,
    }
} ;

export const mapDispatchToProps = dispatch =>{
    return{

    }
} ;

